package com.softline.documentsmall.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.softline.documentsmall.entity.RelateBook;
import com.softline.documentsmall.ret.ReturnVO;
import java.util.List;

/**
 * @Author wph
 * @Date 2021/2/3 14:18
 */

public interface RelateBookService {
    ReturnVO insert(RelateBook relateBook);

    ReturnVO updateRelateBookById(RelateBook relateBook);

    List<RelateBook> selectList( String title,Integer dicId, Integer pageNo, Integer pageSize);

    long selectCountLoacl(String title,Integer dicId);

    RelateBook selectById(int id);
}
